//
//  DoubleExtensions.swift
//  GNAppKit
//
//  Created by Wenkai Fan 范文凯 on 2019/1/8.
//  Copyright © 2019年 Wenkai Fan 范文凯. All rights reserved.
//

import Foundation

// MARK: - Properties
public extension Double {
    
    /// FDFoundation: Int.
    public var gn_int: Int {
        return Int(self)
    }
    
    /// FDFoundation: Float.
    public var gn_float: Float {
        return Float(self)
    }
    
    /// FDFoundation: CGFloat.
    public var gn_cgFloat: CGFloat {
        return CGFloat(self)
    }
    
}
